package com.ruoyi.jksd.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员-充值对象 xy_recharge
 * 
 * @author ruoyi
 * @date 2024-05-26
 */
public class XyRecharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uid;

    /** 充值姓名 */
    @Excel(name = "充值姓名")
    private String realName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String tel;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private BigDecimal num;

    /** 支付方式 1微信 2支付宝 3qq */
    @Excel(name = "支付方式 1微信 2支付宝 3qq")
    private Long type;

    /** 打款凭证 */
    @Excel(name = "打款凭证")
    private String pic;

    /** 下单时间 */
    @Excel(name = "下单时间")
    private Long addtime;

    /** 处理时间 */
    @Excel(name = "处理时间")
    private Long endtime;

    /** 订单状态 1下单成功 2充值成功 3充值失败 */
    @Excel(name = "订单状态 1下单成功 2充值成功 3充值失败")
    private Long status;

    /** $column.columnComment */
    private String payName;

    /** $column.columnComment */
    private Long isVip;

    /** $column.columnComment */
    private Long level;

    /** $column.columnComment */
    private String payType;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setNum(BigDecimal num) 
    {
        this.num = num;
    }

    public BigDecimal getNum() 
    {
        return num;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setAddtime(Long addtime) 
    {
        this.addtime = addtime;
    }

    public Long getAddtime() 
    {
        return addtime;
    }
    public void setEndtime(Long endtime) 
    {
        this.endtime = endtime;
    }

    public Long getEndtime() 
    {
        return endtime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setPayName(String payName) 
    {
        this.payName = payName;
    }

    public String getPayName() 
    {
        return payName;
    }
    public void setIsVip(Long isVip) 
    {
        this.isVip = isVip;
    }

    public Long getIsVip() 
    {
        return isVip;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setPayType(String payType) 
    {
        this.payType = payType;
    }

    public String getPayType() 
    {
        return payType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("realName", getRealName())
            .append("tel", getTel())
            .append("num", getNum())
            .append("type", getType())
            .append("pic", getPic())
            .append("addtime", getAddtime())
            .append("endtime", getEndtime())
            .append("status", getStatus())
            .append("payName", getPayName())
            .append("isVip", getIsVip())
            .append("level", getLevel())
            .append("payType", getPayType())
            .toString();
    }
}
